#You can adapt this file using sed: sed -i 's/Removing/XXXXXX/g' makefile

.PHONY: all clean run

all: Removing myRemove sort

Removing: Removing.o Generators.o
	g++ -o Removing Removing.o Generators.o

myRemove: myRemove.o Generators.o
	g++ -o myRemove myRemove.o Generators.o
	
Removing.o: Removing.cpp
	g++ -c -o Removing.o Removing.cpp
	
myRemove.o: myRemove.cpp
	g++ -c -o myRemove.o myRemove.cpp
	
Generators.o: Generators.cpp
	g++ -c -o Generators.o Generators.cpp

sort: sort.cpp
	g++ -o sort sort.cpp
	
clean:
	rm -f Removing *.o myRemove sort
	
run:
#	@echo "---------run Removing----------";
#	@./Removing
	@echo "---------run myRemove----------";
	@./myRemove
	@echo "---------run sort----------";
	@./sort
